home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
PROTOTRK.M3
< prev
next >
Wrap
Text File
|
1996-04-01
|
4KB
|
144 lines
name ProtoTRAK
% 00
/ 00
: >8
N >3
G >2
X ->2.>4
Y ->2.>4
Z ->2.>4
A ->2.>4
I ->2.>4
J ->2.>4
K ->2.>4
Q ->2.>4
R ->2.>4
P >40
F >2.1
H >2
D >2
T >2
M >2
S >4
; 00
ModalLetters X Y Z F R # List of letters that are modal
ModalGs 73 74 76 80 81 82 83 84 85 # List of g codes that are modal
Sequence#s N 1 1 1 # Char, freq, incr & start
First#? N # Y or N 'Output 1st sequence no.
Last#? N # Y or N 'Output last sequence no.
HCode X # X or X U 'Horizontal char.
VCode Y # Y or Y V 'Vertical char.
Dcode Z # Depth char.
FeedCode F # Feed rate char.
Comment ( ) # Begin End comment char.
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
DComp 41 42 40 # Left, Right & Cancel m codes
LComp 43 49 # On & Off codes
Feed G1 # Linear move
Rapid G0 # Rapid positioning word
Cw G2 # Circular move clockwise
Ccw G3 # Circular move counter clockwise
Inc/Abs G 91 90 # Inc & Abs char. & values
Work G # Work offset register
CtrCode I J # I J or R or I J K L
Helical? N
Spaces? Y # Y or N 'Spaces between words
Incremental? N # Y or N 'Inc or abs output
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? Y # Y or N 'Break arcs at quadrants
ZRestart? N # Y or N 'New cycle if diff. depths
UppercaseComments? Y # Y or N 'Require uppercase comments
Drill 1 # Drilling canned/manual cycle
G81 Z[D] R[Vclear] F[FRate]
G0 X[H] Y[V]
end cancel
Peck 1 # Pecking canned/manual cycle
G83 Z[D] Q[VBite] R[Vclear] F[FRate]
G0 X[H] Y[V]
end cancel
Tap 1 # Tapping canned/manual cycle
G84 Z[D] R[Vclear] F[Frate] Q[VBite]
G0 X[H] Y[V]
end cancel
Ream 1 # Reaming canned/manual cycle
G85 Z[D] R[Vclear] F[FRate]
G0 X[H] Y[V]
end cancel
Bore 1 # Boring canned/manual cycle
G86 Z[D] R[Vclear] F[FRate]
G0 X[H] Y[V]
end cancel
Back 1 # Back boring canned/manual cycle
G87 Z[D] R[Vclear] F[FRate]
G0 X[H] Y[V]
end cancel
Cancel # Cancel a canned/manual cycle
G80
end
StartCode # Start of the program
%0:[Program#]
G90 G80
End
1stToolChange # First tool change
T[Tool] M6
M[Direct] S[Speed]
G0 X[H] Y[V]
G45 Z[D] H[Lcomp] T[NextTool]
M[Cool]
End
Infeed # Enable cutter comp
G[Side] X[H] Y[V] D[DComp] F[FRate]
end
Outfeed # Disable cutter comp
G1 G40 X[H] Y[V]
end
ToolChange # Secondary tool changes
G0 M9
G28 Z[ToolD]
M6
M[Direct] S[Speed]
G0 X[H] Y[V]
G45 Z[D] H[Lcomp] T[NextTool]
M[Cool]
End
EndCode # End of the program
G0 M9
G28 Z[ToolD]
G28 X0 Y0 M05
M6
M30
%0
End
replace "N1 " with ""